# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-flask-components
_pkgname=Flask-Components
pkgver=0.1.1
pkgrel=2
pkgdesc="Flask files discovery extension"
url="https://pypi.python.org/pypi/Flask-Components"
arch="noarch"
license="MIT"
depends="python3 py3-flask"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

replaces="py-flask-components" # Backwards compatibility
provides="py-flask-components=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="ba93d8080939c9e754c801e9860940b029a853a2f591772be497e6884d9fb443c67b945cf452f530a74e1b3cc7123e7d18432df7002bf60284d58a0f9d036657  Flask-Components-0.1.1.tar.gz"
